package com.hnhp.service;

import com.hnhp.dao.CarVideoMapper;
import com.hnhp.dao.CargoodsMapper;
import com.hnhp.model.CarVideo;
import com.hnhp.model.CarVideoQuery;
import com.hnhp.model.Cargoods;
import com.hnhp.model.CargoodsQuery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CargoodsService {
// 数据库业务逻辑类
    @Autowired
    private CargoodsMapper mapper;

    public List<Cargoods> select(CargoodsQuery query){
        return mapper.select(query);
    }

}
